﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Electronic_work_order.Model
{
    //职位
    public class Position
    {
        [Key]
        public int PositionID { get; set; }

        public string PositionName { get; set; }

        public int ParentID { get; set; }
        [ForeignKey("ParentID")]
        public virtual Organization Organization { get; set; }

        public int Grade { get; set; }//职位下方的普通职员
    }
}
